<?php
/**
 * websocket服务器配置文件
 * User: wyj
 * Date: 2017/11/28
 * Time: 9:41
 */
return array(
    'server' => array(
        "reactor_num" => CMD_CPU_NUM, //swoole_cpu_num() ,
        "worker_num" => CMD_CPU_NUM, //swoole_cpu_num() ,
        'task_worker_num' => CMD_CPU_NUM, //swoole_cpu_num() , // 第一个task处理cannal pop all  swoole_cpu_num()
        "daemonize" =>false,
        'pid_file' => __DIR__.'/cmdsocket.pid',
        "log_file" => __DIR__ . '/log/cmdsocket.log',//daemonize=>true以后
        "log_level" => 4,
        'max_request' => 0,
        'dispatch_mode' => 4,
        'debug_mode'=> 1,
    )
);
